<%@ page language="java" import="java.util.*" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="com.naiyumi.model.UserInfo"%>
<%@ page import="java.util.*"%>
<%@ page import="com.opensymphony.xwork2.ActionContext"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>奶与蜜点读笔音频下载</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="naiyumi,voice,wav">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css"
	href="js/ext-3.4.1/resources/css/ext-all.css" />
<script type="text/javascript"
	src="js/ext-3.4.1/adapter/ext/ext-base-debug.js"></script>
<script type="text/javascript" src="js/ext-3.4.1/ext-all-debug.js"></script>
<script type="text/javascript" src="js/ext-3.4.1/ext-lang-zh_CN.js"></script>  
<%
	UserInfo user=(UserInfo)request.getSession().getAttribute("userInfo");
	int admin;
	if(user.isAdmin()){
		admin = 1;
	} else {
		admin = 0;
	}
%>
<link rel="stylesheet" type="text/css"
	href="jsp/protect/animated-dataview.css" />
<script type="text/javascript">
	var admin = <%=admin%>;
	var userId = <%=user.getUserId()%>;
</script>
<script type="text/javascript" src="jsp/protect/download.js"></script>

</head>
<body>
	<center>
		<form id="form1">
			<div align="right">
				<tr align="right" valign="bottom" width="100%">
					<td align="right" nowrap="nowrap" width="100%"
						style="color: #666666" class="a_topcss">
						&nbsp;
						欢迎您 :
						<%=user.getUserName()%>
						&nbsp;
						<a href="jsp/login/logout.jsp">退出系统</a>
					</td>
				</tr>
			</div>
			<div align="center">
				<p><font size="18">奶与蜜点读笔音频下载</font></p>
			</div>
			<div style="width: 1300px; margin-left: auto; margin-right: auto;">
				<table border="0" cellpadding="0" cellspacing="0"
					style="width: 98%;" align="left">
					<tr>
						<td>
							<div id="tree" style="border:2px solid #c3daf9;"></div></td>
						<td>
							<div id="panel" style="border:2px solid #c3daf9;"></div></td>
					</tr>
				</table>
			</div>
		</form>
	</center>
</body>
</html>
